package entity;

import android.graphics.Bitmap;

public class UserInfo {
    private String nickname;
    private Bitmap avatar;

    public UserInfo() {
        // 可以在这里设置默认值
        this.nickname = "未设置";
        this.avatar = null;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Bitmap getAvatar() {
        return avatar;
    }

    public void setAvatar(Bitmap avatar) {
        this.avatar = avatar;
    }
}